78973c0825987ab80e253a43c2b55417addd9cad,livingdoc-server/src/test/java/info/novatec/testit/livingdoc/repository/AtlassianRepositoryTest.java,AtlassianRepositoryTest,testCanDowloadPageContentFromAConfluenceServer,#,77

Before Change


    @Test
    @SuppressWarnings("unchecked")
    public void testCanDowloadPageContentFromAConfluenceServer() throws Exception {
        final Vector< ? > expected = toVector("SPACE KEY", "PAGE", Boolean.TRUE, Boolean.TRUE);
        doReturn(specification()).when(handler).getRenderedSpecification("", "", expected);

        repo = new AtlassianRepository("http://localhost:19005/rpc/xmlrpc?handler=livingdoc1&includeStyle=true#SPACE KEY");

After Change


    @Test
    @SuppressWarnings("unchecked")
    public void testCanDowloadPageContentFromAConfluenceServer() throws Exception {
        final Vector< ? > expected = (Vector) toVector("SPACE KEY", "PAGE", Boolean.TRUE, Boolean.TRUE);
        doReturn(specification()).when(handler).getRenderedSpecification("", "", expected);

        repo = new AtlassianRepository("http://localhost:19005/rpc/xmlrpc?handler=livingdoc1&includeStyle=true#SPACE KEY");